Imports System.ComponentModel

Public Class btn
    Inherits Button
    'Private _setFocus As New Windows.Forms.Control

    '<Description("Pilih control untuk set focus"), Category("My Property")> _

    Public Sub New()
        InitializeComponent()
        MyBase.BackColor = Color.Orange
        MyBase.FlatStyle = Windows.Forms.FlatStyle.Flat
        MyBase.FlatAppearance.BorderSize = 0
        MyBase.Cursor = Cursors.Hand
        'BackColor = Color.SteelBlue
        'ForeColor = Color.Black
        'SetStyle(ControlStyles.AllPaintingInWmPaint Or ControlStyles.OptimizedDoubleBuffer Or ControlStyles.ResizeRedraw Or ControlStyles.SupportsTransparentBackColor Or ControlStyles.UserPaint, True)
        'SetStyle(ControlStyles.Opaque, False)
    End Sub

End Class
